package com.dsh.order.entity;

import com.dsh.admin.entity.ShopUser;

public class OrderManage {
	private java.lang.Integer id;//主键
	private java.lang.Integer shop_id;//餐厅id
	private java.lang.Integer customer_id;//消费者id
	private java.lang.String customer_name;//消费者名称
	private java.util.Date create_date;//创建时间
	private java.lang.Integer update_id;//修改人id
	private java.util.Date update_date;//修改时间
	private java.lang.Integer num;//菜品总数
	private java.lang.Double total_money;//订单总价
	private java.lang.Integer is_pay;//是否已经结账   1.未结账   2.已结账
	private java.lang.Integer is_sure;//是否已确认  1.未确认    2.已确认
	private java.lang.Integer desk_num;//桌号
	
	private ShopUser updateUser;//系统管理员
	
	

	public ShopUser getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(ShopUser updateUser) {
		this.updateUser = updateUser;
	}
	public java.lang.Integer getId() {
		return id;
	}
	public void setId(java.lang.Integer id) {
		this.id = id;
	}
	public java.lang.Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(java.lang.Integer shop_id) {
		this.shop_id = shop_id;
	}
	public java.lang.Integer getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(java.lang.Integer customer_id) {
		this.customer_id = customer_id;
	}
	public java.lang.String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(java.lang.String customer_name) {
		this.customer_name = customer_name;
	}
	public java.util.Date getCreate_date() {
		return create_date;
	}
	public void setCreate_date(java.util.Date create_date) {
		this.create_date = create_date;
	}
	public java.lang.Integer getUpdate_id() {
		return update_id;
	}
	public void setUpdate_id(java.lang.Integer update_id) {
		this.update_id = update_id;
	}
	public java.util.Date getUpdate_date() {
		return update_date;
	}
	public void setUpdate_date(java.util.Date update_date) {
		this.update_date = update_date;
	}
	public java.lang.Integer getNum() {
		return num;
	}
	public void setNum(java.lang.Integer num) {
		this.num = num;
	}
	public java.lang.Double getTotal_money() {
		return total_money;
	}
	public void setTotal_money(java.lang.Double total_money) {
		this.total_money = total_money;
	}
	public java.lang.Integer getIs_pay() {
		return is_pay;
	}
	public void setIs_pay(java.lang.Integer is_pay) {
		this.is_pay = is_pay;
	}
	public java.lang.Integer getIs_sure() {
		return is_sure;
	}
	public void setIs_sure(java.lang.Integer is_sure) {
		this.is_sure = is_sure;
	}
	public java.lang.Integer getDesk_num() {
		return desk_num;
	}
	public void setDesk_num(java.lang.Integer desk_num) {
		this.desk_num = desk_num;
	}
	
	@Override
	public String toString() {
		return "OrderManage [id=" + id + ", shop_id=" + shop_id
				+ ", customer_id=" + customer_id + ", customer_name="
				+ customer_name + ", create_date=" + create_date
				+ ", update_id=" + update_id + ", update_date=" + update_date
				+ ", num=" + num + ", total_money=" + total_money + ", is_pay="
				+ is_pay + ", is_sure=" + is_sure + ", desk_num=" + desk_num
				+ "]";
	}
}
